package com.bzkj.basicinfo.service.ncc;

import com.bzkj.basicinfo.domain.basic.BasicStoArea;
import com.bzkj.basicinfo.domain.ncc.BasicSkuTypeDetail;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;


public interface BasicSkuTypeDetailService {


    AjaxResult getSkuTypeDetail(String id);

    List<BasicSkuTypeDetail> getSkuTypeDetailAll();

    AjaxResult addSkuTypeDetail(String name, List<String> names);


    int deleteSkuTypeDetail(String id);

    int updateSkuTypeDetail(BasicSkuTypeDetail basicSkuTypeDetail);

    R findTreeSkuTypeData();

    /**
     * 查询当前分类下的仓库
     * @param entity
     * @return
     */
    List<BasicStoArea> findBasicSkuTypeDetailByClassId(BasicSkuTypeDetail entity);

    AjaxResult basicSkuTypeDetailSave(BasicSkuTypeDetail entity);

    AjaxResult updateSkuTypeStatus(String id, String status);
}
